<%@ tag pageEncoding="UTF-8" description="对话框基础标签"%>
<%@ attribute name="title" 		required="true"	 description="对话框的标题（必须）"%> 
<%@ attribute name="className"	required="false" description="添加到 markup 的样式类"%> 
<%@ attribute name="isNoMask" 	required="false" description="不需要背景 Mask？" type="java.lang.Boolean"%> 

<textarea class="hide ${className}_viewDlg_tpl">
	<div class="bf-dialog createDlg ${className}">
		<div class="box">
			<!-- 顶部按钮 -->
			<button class="closeAction rightTopIcon" title="关闭对话框">×</button>
			<!-- 标题 -->
			<h1>查看${title}</h1>
			<form>
				<!-- 中间正文内容 -->
				<div class="innerPanel entry">
				    <!-- 加载中…… -->
						<div class="loadingIndicator">
							<img width="16" src="asset/images/loading.gif" />
						</div>	
				    <!--// 加载中…… -->
   					<jsp:doBody />
				</div>
				
				<!-- 底部按钮 -->
				<div class="bottomBtns">
					<button class="closeAction">关 闭</button>
				</div>
			</form>
		</div>
	<%if(isNoMask == null){%>
		<div class="mask"></div>
	<%}%>
	</div>
</textarea>

<textarea class="hide ${className}_createDlg_tpl">
	<div class="bf-dialog createDlg ${className}">
		<div class="box">
			<!-- 顶部按钮 -->
			<button class="closeAction rightTopIcon" title="关闭对话框">×</button>
			<!-- 标题 -->
			<h1>添加${title}</h1>
			<form>
				<!-- 中间正文内容 -->
				<div class="innerPanel entry">
   					<jsp:doBody />
				</div>
				
				<!-- 底部按钮 -->
				<div class="bottomBtns">
			  		<button class="createAction">新 建</button>
					<button class="closeAction">关 闭</button>
				</div>
			</form>
		</div>
	<%if(isNoMask == null){%>
		<div class="mask"></div>
	<%}%>
	</div>
</textarea>

<textarea class="hide ${className}_updateDlg_tpl">
	<div class="bf-dialog updateDlg ${className}">
		<div class="box">
			<!-- 顶部按钮 -->
			<button class="closeAction rightTopIcon" title="关闭对话框">×</button>
			<!-- 标题 -->
			<h1>修改${title}</h1>
			<form>
				<!-- 中间正文内容 -->
				<div class="innerPanel entry">
				    <!-- 加载中…… -->
						<div class="loadingIndicator">
							<img width="16" src="asset/images/loading.gif" />
						</div>	
				    <!--// 加载中…… -->
   					<jsp:doBody />
				</div>
				
				<!-- 底部按钮 -->
				<div class="bottomBtns">
					<button class="modiflyAction">修 改</button>
					<button class="closeAction">关 闭</button>
				</div>
			</form>
		</div>
	<%
	if(isNoMask == null){%>
		<div class="mask"></div>
	<%}%>
	</div>
</textarea>